serverWhitelist

abstract fun serverWhitelist(): String

Returns the server HTTP authorization whitelist as a string with comma/semicolon separated server URLs.

Return

the current server whitelist or an empty string if the whitelist is not configured

Throws

when the engine is closed and its proxy service is not available anymore


abstract fun serverWhitelist(serverWhitelist: String)

Configures the server HTTP authorization whitelist. By default, the server whitelist is empty.

Parameters

serverWhitelist

the server whitelist as a string with the comma/semicolon separated server URLs, for example: "*example.com,*foobar.com,*baz"

Throws

when the engine is closed and its proxy service is not available anymore